{include file="general/header.tpl"}
{include file="preview/preview_path.tpl"}
<div id="main">
	{if $wrong_password}
		<div class="failed">
			<b>Wrong password. Try again.</b><br />
		</div>
	{/if}
	<h1>Preview link</h1>
	<div class="center">
		<p>
			<b><a href="{$link}" rel="external">{$link}</a> is password-protected.</b>
		</p>
		<form action="" method="post">
			<p>
				<input type="hidden" name="link" value="{$link}" />
				Password: <input type="password" name="password" value="" />
			</p>
			<p>
				<input type="submit" name="preview_button" value="Preview" />
			</p>
		</form>
	</div>
</div>
{include file="general/left.tpl"}
{include file="general/footer.tpl"}